<?php

require_once 'FColumnInfo.class.php';

abstract class FCatalogue
{
    
    protected $db;
    
    public function __construct($db)
    {
        $this->db = $db;
    }
    
    abstract public function getIdForTable($table, $field = 'codigo');
    abstract public function getTableColumns($table);
    abstract public function getColumnInfo($table, $column);
    abstract public function getTablePrimaryKey($table);
    abstract public function getTableForeignKeys($table);
    abstract public function getForeignTables($table);
    
}


?>
